package com.lostreseditores.sabersai.model.control;

import java.util.List;

import com.lostreseditores.sabersai.model.Bases;
import com.lostreseditores.sabersai.model.dto.BasesDTO;


public interface IBasesLogic {
    public List<Bases> getBases() throws Exception;

    public void saveBases(Integer baseidn, Long bcompetenciafinn,
        Long bcompetenciainin, Long bcomponentefinn, Long bcomponenteinin,
        String bdescripcionv, Long bdiferencian, Long bpromediofinn,
        Long bpromedioinin, Long btotalfinn, Long btotalinin)
        throws Exception;

    public void deleteBases(Integer baseidn) throws Exception;

    public void updateBases(Integer baseidn, Long bcompetenciafinn,
        Long bcompetenciainin, Long bcomponentefinn, Long bcomponenteinin,
        String bdescripcionv, Long bdiferencian, Long bpromediofinn,
        Long bpromedioinin, Long btotalfinn, Long btotalinin)
        throws Exception;

    public Bases getBases(Integer baseidn) throws Exception;

    public List<Bases> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Bases> findPageBases(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberBases() throws Exception;

    public List<BasesDTO> getDataBases() throws Exception;
}
